nativeCheckPermission

Checks the system's microphone permission status on macOS.

Return

Int representing the status: 0 (NotDetermined), 1 (Denied/Restricted), 2 (Granted)